package com.ruoyi.web.mapper;

import java.util.List;
import com.ruoyi.web.domain.DiseaseTarget;
import org.apache.ibatis.annotations.Param;

/**
 * 疾病靶点Mapper接口
 * 
 * @author drx
 * @date 2025-05-12
 */
public interface DiseaseTargetMapper 
{
    /**
     * 查询疾病靶点
     * 
     * @param id 疾病靶点主键
     * @return 疾病靶点
     */
    public DiseaseTarget selectDiseaseTargetById(Long id);

    /**
     * 查询疾病靶点列表
     * 
     * @param diseaseTarget 疾病靶点
     * @return 疾病靶点集合
     */
    public List<DiseaseTarget> selectDiseaseTargetList(DiseaseTarget diseaseTarget);

    /**
     * 新增疾病靶点
     * 
     * @param diseaseTarget 疾病靶点
     * @return 结果
     */
    public int insertDiseaseTarget(DiseaseTarget diseaseTarget);

    /**
     * 修改疾病靶点
     * 
     * @param diseaseTarget 疾病靶点
     * @return 结果
     */
    public int updateDiseaseTarget(DiseaseTarget diseaseTarget);

    /**
     * 删除疾病靶点
     * 
     * @param id 疾病靶点主键
     * @return 结果
     */
    public int deleteDiseaseTargetById(@Param("ids")Long id,@Param("loginName") String longName);

    /**
     * 批量删除疾病靶点
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDiseaseTargetByIds(@Param("ids")String[] ids,@Param("loginName") String longName);
}
